package com.mingtu.jgspatrol.bean;

import java.util.List;

/**
 * @ClassName :
 * @Author : wkk
 * @Date : 2021-11-17 10:03:01
 * @Email : 1281573890@qq.com
 * @Eescription :
 */
public class MyMessageBean {

    /**
     * msg : success
     * code : 0
     * page : {"records":[{"id":2665,"msgType":"领导指派任务","userId":211,"msgContent":"您有新的指派任务","deviceName":null,"createTime":"2021-11-16 11:22:23","status":0,"fileId":null,"url":null}],"total":1,"size":10,"current":1,"orders":[],"hitCount":false,"searchCount":true,"pages":1}
     */

    private String msg;
    private int code;
    private PageBean page;

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public PageBean getPage() {
        return page;
    }

    public void setPage(PageBean page) {
        this.page = page;
    }

    public static class PageBean {
        /**
         * records : [{"id":2665,"msgType":"领导指派任务","userId":211,"msgContent":"您有新的指派任务","deviceName":null,"createTime":"2021-11-16 11:22:23","status":0,"fileId":null,"url":null}]
         * total : 1
         * size : 10
         * current : 1
         * orders : []
         * hitCount : false
         * searchCount : true
         * pages : 1
         */

        private int total;
        private int size;
        private int current;
        private boolean hitCount;
        private boolean searchCount;
        private int pages;
        private List<RecordsBean> records;
        private List<?> orders;

        public int getTotal() {
            return total;
        }

        public void setTotal(int total) {
            this.total = total;
        }

        public int getSize() {
            return size;
        }

        public void setSize(int size) {
            this.size = size;
        }

        public int getCurrent() {
            return current;
        }

        public void setCurrent(int current) {
            this.current = current;
        }

        public boolean isHitCount() {
            return hitCount;
        }

        public void setHitCount(boolean hitCount) {
            this.hitCount = hitCount;
        }

        public boolean isSearchCount() {
            return searchCount;
        }

        public void setSearchCount(boolean searchCount) {
            this.searchCount = searchCount;
        }

        public int getPages() {
            return pages;
        }

        public void setPages(int pages) {
            this.pages = pages;
        }

        public List<RecordsBean> getRecords() {
            return records;
        }

        public void setRecords(List<RecordsBean> records) {
            this.records = records;
        }

        public List<?> getOrders() {
            return orders;
        }

        public void setOrders(List<?> orders) {
            this.orders = orders;
        }

        public static class RecordsBean {
            /**
             * id : 2665
             * msgType : 领导指派任务
             * userId : 211
             * msgContent : 您有新的指派任务
             * deviceName : null
             * createTime : 2021-11-16 11:22:23
             * status : 0
             * fileId : null
             * url : null
             */

            private int id;
            private String msgType;
            private int userId;
            private String msgContent;
            private Object deviceName;
            private String createTime;
            private int status;
            private Object fileId;
            private Object url;

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public String getMsgType() {
                return msgType;
            }

            public void setMsgType(String msgType) {
                this.msgType = msgType;
            }

            public int getUserId() {
                return userId;
            }

            public void setUserId(int userId) {
                this.userId = userId;
            }

            public String getMsgContent() {
                return msgContent;
            }

            public void setMsgContent(String msgContent) {
                this.msgContent = msgContent;
            }

            public Object getDeviceName() {
                return deviceName;
            }

            public void setDeviceName(Object deviceName) {
                this.deviceName = deviceName;
            }

            public String getCreateTime() {
                return createTime;
            }

            public void setCreateTime(String createTime) {
                this.createTime = createTime;
            }

            public int getStatus() {
                return status;
            }

            public void setStatus(int status) {
                this.status = status;
            }

            public Object getFileId() {
                return fileId;
            }

            public void setFileId(Object fileId) {
                this.fileId = fileId;
            }

            public Object getUrl() {
                return url;
            }

            public void setUrl(Object url) {
                this.url = url;
            }
        }
    }
}
